package com.dbq.fast.analysis;

/**
 * Created by yiba_zyj on 2017/11/9.
 */

public class EventConstant {

    // 开机启动页
    public static final String EVENT_OPEN_WELCOME = "open_welcome"; //进入欢迎页
    public static final String EVENT_CLICK_TO_LOGIN = "click_to_login"; //点击立即体验
    public static final String PARAM_NET_NONE = "net_none"; //登录时网络状态：无网络
    public static final String PARAM_NET_WIFI = "net_wifi"; //登录时网络状态：wifi
    public static final String PARAM_NET_MOBILE = "net_mobile"; //登录时网络状态：数据网络
    public static final String EVENT_START_APP = "start_app"; //启动APP事件
    public static final String EVENT_APP_ONRESUME = "app_onresume"; //APP显示
    public static final String PARAM_IS_EXPIRED = "is_expired"; //是否过期

    // 开启服务
    public static final String EVENT_CLICK_TO_OPEN = "click_to_open"; //点击开启服务按钮
    public static final String EVENT_OPEN_SUCC = "open_succ"; //开启服务成功
    public static final String EVENT_LOGIN_SUCC = "login_succ"; //登录成功
    public static final String EVENT_LOGIN_FAIL = "login_fail"; //登录失败
    public static final String PARAM_SERVER_FAIL = "server_fail";//登录失败原因：服务器接口问题
    public static final String PARAM_NET_FAIL = "net_fail";//登录失败原因：登录超时或网络原因
    public static final String PARAM_SERVER_CODE = "server_code_"; //登录失败原因：code码

    // 服务开启失败原因
    public static final String EVENT_OPEN_FAILED = "open_failed"; //节点连接失败（ss：拿到了节点，但节点连接失败；s_out：因为套餐过期导致开启失败；net_out：因为网络导致开启失败；new_s_out：新用户服务过期，没有服务；s_no_auth：没有授权vpn）
    public static final String PARAM_SS = "ss"; //节点连接失败原因：拿到了节点，但节点连接失败
    public static final String PARAM_S_OUT = "s_out"; //节点连接失败原因：因为套餐过期导致开启失败
    public static final String PARAM_NET_OUT = "net_out"; //节点连接失败原因：因为网络导致开启失败
    public static final String PARAM_NEW_S_OUT = "new_s_out"; //节点连接失败原因：新用户服务过期，没有服务
    public static final String PARAM_S_NO_AUTH = "s_no_auth"; //节点连接失败原因：没有授权vpn
    public static final String PARAM_C_NODE_E = "c_node_e"; //节点连接失败原因：创建节点失败
    public static final String PARAM_NO_NET = "no_net"; //节点连接失败原因：没有网络
    public static final String EVENT_CLICK_S_OUT_BUY_NOW = "click_s_out_buy_now";//点击套餐过期弹出框里的『立即购买』按钮
    public static final String EVENT_CLICK_S_OUT_CANCEL = "click_s_out_cancel";// 点击套餐过期弹出框里的『取消』按钮
    public static final String EVENT_CLICK_TO_CLOSE = "click_to_close"; //关闭服务按钮
    public static final String EVENT_CLOSE_SUCC_NOTI = "close_succ_noti"; //通知栏，关闭服务

    public static final String EVENT_CLICK_NET_OUT_CANCEL = "click_net_out_cancel";// 网络超时弹出，点击取消按钮
    public static final String EVENT_CLICK_NET_OUT_RETRY = "click_net_out_retry";// 网络超时弹出，点击重试按钮
    public static final String EVENT_OPEN_FAILED_NO_NET = "open_failed_no_net"; //没有网络（wlan关闭并且没有数据网络）

    // 购买套餐路径
    public static final String EVENT_CLICK_MEAL = "click_meal"; //点击首页的套餐按钮，进入套餐介绍界面
    public static final String EVENT_CLICK_RENEWAL = "click_renewal"; //点击续费按钮
    public static final String EVENT_CLICK_CHOOSE_MEAL_1 = "click_choose_meal1"; //套餐界面点击选择套餐1，进入选择套餐时长界面
    public static final String EVENT_CLICK_CHOOSE_MEAL_2 = "click_choose_meal2"; //套餐界面点击选择套餐2，进入选择套餐时长界面
    public static final String EVENT_CLICK_CHOOSE_MEAL_3 = "click_choose_meal3"; //套餐界面点击选择套餐3，进入选择套餐时长界面
    public static final String EVENT_EXIT_MEAL_PAGE = "exit_meal_page"; //退出套餐介绍界面

    // 支付相关
    public static final String click_pay_button = "click_pay_button"; //点击支付『按钮』
    public static final String EVENT_GOOGLE_PAY_FAILED = "google_pay_failed"; //google支付失败
    public static final String EVENT_STRIPE_PAY_FAILED = "stripe_pay_failed"; //Stripe支付失败
    public static final String STRIPE_METHOD = "switch_stripe";
    public static final String GOOGLE_METHOD = "switch_gp";
    public static final String WFEE_METHOD = "switch_wfee";
    public static final String STRIPE_CLICK_CREDIT_SUBMIT = "click_credit_submit";//用户点击信用卡信息提交
    public static final String STRING_SUBMIT_SUCC = "submit_succ";//用户点击信用卡信息提交
    public static final String STRIPE_SUBMIT_FAILD = "submit_faild";//用户点击信用卡信息提交

    public static final String PAY_CANCEL = "pay_cancel";//用户点击信用卡信息提交
    public static final String SLIP_TO_S1 = "slip_to_s1"; //滑动切换到套餐1（VIP）
    public static final String SLIP_TO_S2 = "slip_to_s2"; //滑动切换到套餐2（SVIP）


    public static final String PAY_SUCCESS = "pay_success";//用户点击信用卡信息提交
    public static final String CLICK_WFEE_TOKEN_COPY = "click_wfee_token_copy";//用户点击信用卡信息提交

    // 我的
    public static final String EVENT_CLICK_ME = "click_me"; //点击『我的』
    public static final String EVENT_CLICK_ME_ORDER = "click_me_order"; //点击『我的订单』按钮
    public static final String EVENT_CLICK_ME_HELP = "click_me_help"; //点击我的页面『使用帮助』
    public static final String EVENT_CLICK_FEEDBACK = "click_feedback"; //点击问题反馈
    public static final String EVENT_CLICK_SETTING = "click_setting"; //点击设置按钮
    public static final String EVENT_EXIT_ME = "exit_me"; //退出我的界面

    // 其他
    public static final String EVENT_CLICK_ABOUT_US = "click_about_us"; //点击关于我们按钮
    public static final String EVENT_CLICK_TERMS = "clcik_terms"; //点击隐私条款
    public static final String EVENT_EXIT_PAYMENT_PAGE = "exit_payment_page"; //退出选择套餐时长界面

    // 邀请
    public static final String EVENT_CLICK_INVITE_ENTRANCE = "invite_entrance"; //点击赚现金gif
    public static final String EVENT_CLICK_MY_REWARD_ITEM = "my_reward_item"; //点击我的奖励Item
    public static final String EVENT_CLICK_WITHDRAW_ITEM = "withdraw_item"; //点击提现记录Item
    public static final String EVENT_CLICK_MY_REWARD_SHARE = "my_reward_share"; //我的奖励页面分享按钮
    public static final String EVENT_CLICK_REQUEST_WITHDRAW = "request_withdraw"; //申请提现
    public static final String PARAM_WITHDRAW_NEED_BIND_WX = "need_bind_wx"; //提现->需绑定微信
    public static final String PARAM_WITHDRAW_MONEY_NOT_ENOUGH = "money_not_enough"; //提现->金额不足
    public static final String PARAM_WITHDRAW_WITHDRAWING = "withdrawing"; //提现->提现中
    public static final String PARAM_WITHDRAW_MEET_CRITERIA = "meet_criteria"; //提现->满足条件
    public static final String EVENT_BIND_WX = "bind_wx"; //绑定微信
    public static final String INVITE_SHARE = "invite_share";//		分享
    public static final String INVITE_PASTE = "invite_paste";//		粘贴
    public static final String INVITE_RULE = "invite_rule"; //活动规则
    public static final String INVITE_TO_WECHAT = "invite_to_wechat"; //分享方式->微信
    public static final String INVITE_TO_WECHAT_COMMENT = "invite_to_wechat_comment"; //分享方式->朋友圈
    public static final String INVITE_TO_QQ = "invite_to_qq"; //分享方式->QQ
    public static final String INVITE_TO_WEIBO = "invite_to_weibo"; //分享方式->新浪微博
    public static final String INVITE_COPY_LINK = "invite_copy_link"; //分享方式->复制链接

    // 安装渠道
    public static final String EVENT_INSTALL_FROM = "install_from"; //安装渠道
    public static final String PARAM_INVITE_BY = "invite_by"; //"vpnId":邀请来的, "self":自发下载

    //首页面
    public static final String EVENT_CLICK_EXV = "click_exv"; //点击交易所入口
    public static final String EVENT_OPEN_VIDEO = "sure_open_video"; //首页中，点击确认进入视频导航页面。
    public static final String EVENT_CANCEL_OPEN_VIDEO = "event_cancel_open_video"; //首页中，点击看片入口

    public static final String EVENT_OPEN_VIDEO_2 = "sure_open_video_2"; //在导航界面，点击进入浏览器
    public static final String EVENT_CANCEL_OPEN_VIDEO_2 = "event_cancel_open_video_2"; //在导航界面，取消进入跳转到浏览器


    public static final String EVENT_SET_MEAL_INVALID_COME_IN = "set_meal_invalid_come_in"; //已无套餐，继续进入页面
    public static final String EVENT_SET_MEAL_INVALID_GO_2_BUY = "set_meal_invalid_go_2_buy"; //已无套餐，前去购买界面

    public static final String EVENT_HAND_OPEN_VPN = "hand_open_vpn"; //第一次打开，提示手动打开vpn，点击前去打开vpn
    public static final String EVENT_HAND_OPEN_VPN_CANCEL = "hand_open_vpn_cancel"; //第一次打开，提示手动打开vpn，点击取消


    //------------------------------------------ 分割线 ----------------------------------------------

    // 暂停使用
    public static final String EVENT_LOG_WITH_WECHAT = "log_with_wechat"; //点击微信登录

    public static final String EVENT_LOG_WITH_FB = "log_with_fb"; //点击FACEBOOK登录
    public static final String EVENT_LOG_WITH_DEVICE = "log_with_device"; //点击游客登录
    public static final String EVENT_LOG_WITH_WB = "log_with_wb"; //点击Sina Weibo登录

    public static final String EVENT_CLICK_ONLINE_HELP = "click_online_help"; //点击『在线客服』
    public static final String EVENT_CLICK_QQ_HELP = "click_qq_help"; //点击在线客服里的QQ帮助
    public static final String EVENT_CLICK_QQ_GUIDE = "click_qq_guide"; //点击主页面使用指南里的QQ
    public static final String EVENT_CLICK_SINA_WEIBO_GUIDE = "click_sina_weibo_guide"; //点击主页面使用指南里的新浪微博

    public static final String EVENT_CLICK_FAQ_GUIDE = "click_sina_weibo_guide"; //点击主页面使用指南里的使用帮助

    public static final String EVENT_ENTER_LOGIN_PAGE = "enter_login_page";//进入登录页
    public static final String EVENT_EXIT_LOGIN_PAGE = "exit_login_page";//离开登录页

    public static final String EVENT_WECHAT_LOGIN_AUTH_DENY = "wx_login_auth_deny"; //WeChat用户拒绝授权
    public static final String EVENT_WECHAT_LOGIN_CANCEL = "wx_login_cancel"; //WeChat用户取消登录
    public static final String EVENT_WECHAT_LOGIN_GET_TOKEN = "wx_login_get_token"; //WeChat获取token失败
    public static final String EVENT_WECHAT_LOGIN_GET_INFO = "wx_login_get_info"; //WeChat获取用户资料失败
    public static final String EVNET_WECHAT_LOGIN_SUCCESS = "wx_login_success"; //WeChat平台登录成功

    public static final String EVENT_FB_LOGIN_CANCEL = "fb_login_cancel"; //FB用户取消登录
    public static final String EVENT_FB_LOGIN_EXCEP = "fb_login_excep"; //FB异常
    public static final String EVENT_FB_LOGIN_GET_INFO = "fb_login_get_info"; //FB获取用户资料失败
    public static final String EVENT_FB_LOGIN_SUCCESS = "fb_login_success"; //FB平台登录成功
    public static final String EVENT_WB_LOGIN_SUCCESS = "wb_login_success"; //Sina Weibo平台登录成功
    public static final String EVENT_WB_LOGIN_GET_INFO = "wb_login_get_info"; //Sina Weibo获取用户资料失败

    public static final String EVENT_LOGIN_TO_SERVER_FAIL = "login_to_server_fail"; //向自己的服务端登录失败
    public static final String EVENT_LOGIN_TO_SERVER_SUCCESS = "login_to_server_success"; //向自己的服务端登录成功


    public static final String pay_failed_1 = "pay_failed_1"; //用户取消支付

    public static final String EVENT_CLICK_COUPONS = "click_coupons"; //点击问题反馈


    public static final String EVENT_CLICK_COUPON_AT_HOME = "click_coupon_at_home"; //首页点击『我的优惠券』入口
    public static final String EVENT_CLICK_MYCOUPON_AT_PAYPAGE = "click_mycoupon_at_paypage"; //支付页点击优惠券入口

    public static final String EVENT_CLICK_MYCOUPON_AT_ME = "click_mycoupon_at_me"; //『我的』界面点击优惠券入口

    public static final String EVENT_CLICK_COUPON_USED_PAGE = "click_coupon_used_page"; //进入优惠券『已使用』界面
    public static final String EVENT_CLICK_COUPON_EXPIRED_PAGE = "click_coupon_expired_page"; //进入优惠券『已过期』界面
    public static final String EVENT_CLICK_COUPON_UNUSED_PAGE = "click_coupon_unuesd_page"; //进入优惠券『未使用』界面

    public static final String EVENT_CLICK_COUPON_X = "click_coupon_"; //点击X折的优惠券

    //分享 (暂停使用)
    public static final String ENTER_SHARE_AT_MEALPAGE = "enter_share_at_mealpage";
    public static final String ENTER_SHARE_AT_MEPAGE = "enter_share_at_mepage";
    public static final String CLICK_SHARE_MY_CODE = "click_share_my_code";
    public static final String SHARE_BY_WECHAT = "share_by_wechat";
    public static final String SHARE_BY_QQ = "share_by_qq";
    public static final String SHARE_BY_WEIBO = "share_by_weibo";
    public static final String SHARE_BY_QQZONE = "share_by_qqzone";
    public static final String SHARE_BY_PENGYOUQUAN = "share_by_pengyouquan";
    public static final String SHARE_BY_LINK = "share_by_link";
    public static final String SHARE_BY_FACEBOOK = "share_by_facebook";
    public static final String SUBMIT_CODE = "submit_code";
    public static final String SUBMIT_CODE_FAIL_INVALID = "submit_code_fail_invalid";
    public static final String SUBMIT_CODE_FAIL_TIME = "submit_code_fail_time";
    public static final String SUBMIT_CODE_FAIL_NETWORK = "submit_code_fail_network";
    public static final String SUBMIT_CODE_SUCCESS = "submit_code_success";
    public static final String SHARE_CANCEL = "share_cancel";
    public static final String CLICK_MY_SHARE = "click_my_share";
    public static final String CREDIT_CANCEL = "submit_credit_cancel";

    public static final String PAYMENT_STATUS = "payment_status";

    public static final String pay_faild_cancel = "pay_failed_cancel"; //用户取消支付
    public static final String pay_failed_4000 = "pay_failed_4000"; //用户取消支付
    public static final String pay_failed_6002 = "pay_failed_6002"; //用户取消支付
    public static final String pay_failed_8004 = "pay_failed_8004"; //用户取消支付
    public static final String pay_failed_6001 = "pay_failed_6001"; //用户取消支付

    //支付订阅
    public static final String EVENT_ENTER_SUBS_WAY_BANNER = "enter_subs_way_banner"; //从banner活动进入订阅
    public static final String EVENT_ENTER_SUBS_WAY_DIALOG = "enter_subs_dialog_banner"; //从dialog活动进入订阅
    public static final String PARAM_ENTER_PERIOD = "enter_period"; //进入阶段
    public static final String EVENT_SUBS_SUCC = "subs_succ"; //订阅成功
    public static final String EVENT_SUBS_FAIL = "subs_fail"; //订阅失败
    public static final String PARAM_SUBS_FAIL_CODE = "subs_fail_code"; //订阅失败错误码

    // 评分
    public static final String EVENT_RATING_COMMENT_CLICK = "rating_comment_click";
    public static final String EVENT_POP_RATE = "pop_rate"; //弹出评分框
    public static final String EVENT_RATE_SUCCESS = "rate_success"; //用户评分
    public static final String EVENT_RATE_CANCEL = "rate_cancel"; //取消评分

    //针对于国内版本，购买相关的时间埋点。
    public static final String CLICK_PLAN = "click_plan";    //点击主界面的套餐按钮
    public static final String LOAD_PAYPAGE_SUCCESS = "load_paypage_success";//		支付界面信息获取成功
    public static final String LOAD_PAYPAGE_FAILED = "load_paypage_failed";//		支付界面信息获取失败
    public static final String CLICK_RELOAD_DATA_PAYPAGE = "click_reload_data_paypage";//		支付界面点击『重新获取数据』按钮
    public static final String CLICL_PAY_BUTTON = "clicl_pay_button";//		SVIP下点击支付按钮
    public static final String STRIPE_GET_TOKEN_SUCCESS = "stripe_get_token_success";//		获得支付token成功
    public static final String STRIPE_GET_TOKEN_FAILED = "stripe_get_token_failed";//		获得支付token失败
    public static final String STRIPE_CANCEL_PAY = "stripe_cancel_pay";//		获取token时取消
    public static final String ALI_PAY_SUCCESS = "ali_pay_success";//		支付成功
    public static final String ALI_PAY_FAILED = "ali_pay_failed";//	失败原因	支付失败
    public static final String POP_PAY_CANCEL = "pop_pay_cancel";//		取消支付的确认框弹出
    public static final String CLICK_COMFIRM__PAY_CANCEL = "click_comfirm__pay_cancel";//		点击确定取消
    public static final String CLICK_BACK_PAY = "click_back_pay";//		点击继续支付
    public static final String EXIT_PAY_PAGE = "exit_pay_page";//		退出支付界面
    public static final String CLICK_ITEM = "click_item";//		点击商品类型
    public static final String SERVICE_PAY_SUCCESS = "service_pay_success";//		服务器扣款成功
    public static final String SERVICE_PAY_FAILED = "service_pay_failed";//		服务器扣款失败


    public static final String TEST_USER = "i_am_test_user";//		粘贴
    public static final String Y_PAGE = "load_y_page";//		粘贴
    public static final String DIALOG_UPDATE = "dialog_update";//		粘贴
    public static final String CANCEL_UPDATE = "cancel_update";//		粘贴
    public static final String HAND_AUTO_UPDATE = "hand_auto_update";//		粘贴


}
